<!doctype html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>网站后台管理系统</title>
		<link rel="shortcut icon" href="./include/images/favicon.ico" />
		<link href="./include/css/css.css" type="text/css" rel="stylesheet" />
		<?php 
		session_start();//开启session

		//判断当前访问者是否已经登录
		if(empty($_SESSION['adminuser'])){
			header("Location:login.php");
			exit;//终止程序执行
		}
		//防止非管理者进入后台
		if($_SESSION['adminuser']['state']!=0){
			header("Location:../web/index.php");
			exit;
		}
	 ?>
	</head>
<!--框架样式-->
	<frameset rows="95,*,30" cols="*" frameborder="no" border="0" framespacing="0">
	<!--top样式-->
		<frame src="./include/top.html" name="topframe" scrolling="no" noresize id="topframe" title="topframe" />
	<!--contact样式-->
		<frameset id="attachucp" framespacing="0" border="0" frameborder="no" cols="194,12,*" rows="*">
			<frame scrolling="auto" noresize="" frameborder="no" name="leftFrame" src="./include/left.php"></frame>
			<frame id="leftbar" scrolling="no" noresize="" name="switchFrame" src="./include/swich.html"></frame>
			<frame scrolling="auto" noresize="" border="0" name="mainFrame" src="./include/main.php"></frame>
		</frameset>
	<!--bottom样式-->
		<frame src="./include/bottom.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
	</frameset><noframes></noframes>
<!--不可以删除-->
</html>